package com.techthinker.dreamBuilder.Entity;

import java.sql.Date;
import java.util.List;

public class Task {
	private int task_id;
	private Dictionary dictionary;
	private int totalDays;
	private Date startDate;
	private int listsPerDay;
	private int wordsPerDay;
	private int groupsPerDay;
	private int sort;
	private List<Trace> allTraces;
	public Task() {
		super();
	}
	public Task(int task_id, Dictionary dictionary, int totalDays,
			Date startDate, int listsPerDay, int wordsPerDay, int groupsPerDay,
			int sort) {
		super();
		this.task_id = task_id;
		this.dictionary = dictionary;
		this.totalDays = totalDays;
		this.startDate = startDate;
		this.listsPerDay = listsPerDay;
		this.wordsPerDay = wordsPerDay;
		this.groupsPerDay = groupsPerDay;
		this.sort = sort;
	}
	public int getTask_id() {
		return task_id;
	}
	public void setTask_id(int task_id) {
		this.task_id = task_id;
	}
	public Dictionary getDictionary() {
		return dictionary;
	}
	public void setDictionary(Dictionary dictionary) {
		this.dictionary = dictionary;
	}
	public int getTotalDays() {
		return totalDays;
	}
	public void setTotalDays(int totalDays) {
		this.totalDays = totalDays;
	}
	public Date getStartDate() {
		return startDate;
	}
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	public int getListsPerDay() {
		return listsPerDay;
	}
	public void setListsPerDay(int listsPerDay) {
		this.listsPerDay = listsPerDay;
	}
	public int getWordsPerDay() {
		return wordsPerDay;
	}
	public void setWordsPerDay(int wordsPerDay) {
		this.wordsPerDay = wordsPerDay;
	}
	public int getGroupsPerDay() {
		return groupsPerDay;
	}
	public void setGroupsPerDay(int groupsPerDay) {
		this.groupsPerDay = groupsPerDay;
	}
	public int getSort() {
		return sort;
	}
	public void setSort(int sort) {
		this.sort = sort;
	}
	public List<Trace> getAllTraces() {
		return allTraces;
	}
	public void setAllTraces(List<Trace> allTraces) {
		this.allTraces = allTraces;
	}
	@Override
	public String toString() {
		return "Task [task_id=" + task_id + ", dictionary=" + dictionary
				+ ", totalDays=" + totalDays + ", startDate=" + startDate
				+ ", listsPerDay=" + listsPerDay + ", wordsPerDay="
				+ wordsPerDay + ", groupsPerDay=" + groupsPerDay + ", sort="
				+ sort + "]";
	}
	
}
